package algos;

public abstract class EstimationFunction {

    protected final NGramModel model;

    public EstimationFunction(){
        this(null);
    }

    public EstimationFunction(NGramModel model) {
        this.model = model;
    }

    public abstract double p(int wordIndex);


}
